﻿#pragma once

#include "../../../StdAfx.h"
//#include "LOGIN.h"
//#include "../../../../QuantyView3d/MiniMine/DIO/DIO.h"
//#include "../../DAO/DAO.h"
//#include "afxdialogex.h"
#include"../../../QuantyView3DView.h"
#include "resource2.h"
// ZKYPXX 对话框

class ZKYPXX : public CDialogEx
{
	DECLARE_DYNAMIC(ZKYPXX)

public:
	ZKYPXX(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ZKYPXX();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_ZKYPXXIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	User_ST user;
	CQuantyView3DView* view;
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CListCtrl ZKYPXXLIST;
	afx_msg void OnBnClickedZkypxxAdd();
CEdit ZKYPXX_KTQBH;
CEdit ZKYPXX_ZKBH;
CEdit ZKYPX_ZKBH;
	CComboBox m_zkypxxktqbh;
	afx_msg void OnCbnSelchangeComboZkypxxktqbh();
	CComboBox m_zkypxxzkbh;
	afx_msg void OnCbnSelchangeComboZkypxxzkbh();

	CComboBox m_zkypxxktmc;
	afx_msg void OnCbnSelchangeComboZkypxxktmc();
	void setView(CQuantyView3DView* view__)
	{
		view = view__;
		user= view->getUser();
	}
	
	afx_msg void OnBnClickedZkypxxAdd1();
};
